<?php

namespace maotool\src\test;

use maotool\core\Container;
use maotool\src\test\controller\MemberController;
use maotool\util\ControllerUtil;
use PHPUnit\Framework\TestCase;

class ControllerUtilTest extends TestCase
{
    public function testDemo1()
    {
        ControllerUtil::scan("maotool:/src/test/php/controller/**/*.php");
        $memberController = Container::getClass(MemberController::class);
        /** @var MemberController $memberController */
        $memberController->init();
        $container = Container::getContainer();
        $this->assertTrue(true);
    }

}